﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Manager_Login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>深圳龙岗机关幼儿园管理后台</title>
</head>
<body>
    <form id="form1" runat="server">
        <ext:PageManager ID="PageManager1" runat="server" />
        <ext:Window ID="winLogin" runat="server" IsModal="false" EnableClose="false" WindowPosition="GoldenSection"
            Width="350px" Title="用户登录" FooterBarAlign="center">
            <Items>
                <ext:SimpleForm ID="SimpleForm1" runat="server" ShowBorder="false" BodyPadding="10px"
                    LabelWidth="60px" EnableBackgroundColor="true" ShowHeader="false" LabelAlign="right">
                    <Items>
                        <ext:TextBox ID="txtUserName" runat="server" Label="用户名" Required="true">
                        </ext:TextBox>
                        <ext:TextBox ID="txtPwd" runat="server" Label="登录密码" TextMode="password" Required="true">
                        </ext:TextBox>
                        <ext:TextBox ID="txtVaildCode" runat="server" Label="验证码" Required="true" MaxLength="8" Width="60px">
                        </ext:TextBox>
                        <ext:Panel ID="pnlVaildCode" CssStyle="padding-left:65px;" ShowBorder="false" ShowHeader="false"
                            EnableBackgroundColor="true" runat="server">
                            <Items>
                                <ext:Image ID="imgVaildCode" runat="server" CssStyle="float:left;width:160px;" ShowLabel="false">
                                </ext:Image>
                                <ext:LinkButton CssStyle="float:left;padding-top:8px;" ID="btnRefresh" Text="看不清？"
                                    runat="server" OnClick="btnRefresh_Click">
                                </ext:LinkButton>
                            </Items>
                        </ext:Panel>
                    </Items>
                </ext:SimpleForm>
            </Items>
            <Toolbars>
                <ext:Toolbar ID="tbLogin" runat="server" Position="footer">
                    <Items>
                        <ext:Button ID="btnLogin" runat="server" Text="登录系统" ValidateForms="SimpleForm1" ValidateTarget="top" OnClick="btnLogin_Click"></ext:Button>
                        <ext:Button ID="btnReset" runat="server" Text="重 置" Icon="reload"></ext:Button>
                    </Items>
                </ext:Toolbar>
            </Toolbars>
        </ext:Window>
    </form>
</body>
</html>
